import request from '@/utils/request';

// 查询调度日志列表
export const listJobLog = (query: any) => {
  return request({
    url: '/monitor/jobLog/list',
    method: 'get',
    params: query
  });
}

// 删除调度日志
export const delJobLog = (jobLogId: any) => {
  return request({
    url: `/monitor/jobLog/${jobLogId}`,
    method: 'delete'
  });
}

// 清空调度日志
export const cleanJobLog = () => {
  return request({
    url: '/monitor/jobLog/clean',
    method: 'delete'
  });
}
